package com.zqs.service;

import com.zqs.entity.User;

public interface UserService {

    void reg(User user);

    User login(String username, String password);

    void updateUserInfo(User user,Integer uid,String username);

    User userInfo(String username);

//    void updateAvatar(String avatar,Integer uid,String username);

    void updatePassword(String OldPassword,String NewPassword,String username,Integer uid);

    User findByUid(Integer uid);
}
